package com.CGFrame.struts.bean.keypath;

public class EventNode 
{
	private int id;
	private int ve=-1;
	private int vl=-1;
	private int rest;
	private String name;
	private String tip="";
	private double percent=0.0;
	
	
	public EventNode(int id,int ve,int vl,int rest,String name)
	{
		this.id=id;
		this.rest=rest;
		this.ve=ve;
		this.vl=vl;
		this.name = name;
	}
	
	public int getId()
	{
		return id;
	}
	public int getVl()
	{
		return vl;
	}
	public int getVe()
	{
		return ve;
	}
	public int getRest()
	{
		return rest;
	}
	public String getName()
	{
		return name;
	}
	public String getTip()
	{
		return tip;
	}
	public double getPercent()
	{
		return percent;
	}
	
	public void setId(int id)
	{
		this.id = id;
	}
	public void setVl(int vl)
	{
		this.vl = vl;
	}
	public void setVe(int ve)
	{
		this.ve = ve;
	}
	public void setRest(int rest)
	{
		this.rest = rest;
	}
	public void setName(String name) {
		// TODO Auto-generated method stub
		this.name = name;
	}
	public void setTip(String tip)
	{
		this.tip = tip;
	}
	public void setPercent(double percent)
	{
		this.percent = percent;
	}
	
}